#!/usr/bin/python

from distutils.core import setup, Extension

libemu = Extension('libemu',
                    sources = ['libemu_module.c'],
                    include_dirs = ['../../include'],
                    library_dirs = ['../../src/.libs'],
                    extra_link_args=['-Wl,-rpath=@LIBDIR@'],
                    libraries = ['emu'],
                    )

setup (name = 'libemu',
       version = '@VERSION@',
       description = 'Python interface to the libemu x86 emulator.',
       author = 'Georg Wicherski',
       author_email = 'gw@mwcollect.org',
       url = 'http://libemu.mwcollect.org/',
       ext_modules = [libemu])
